﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DALStatus
/// </summary>
public class DALStatus : BaseDAL
{
    public DALStatus()
    {

    }

    public List<tblStatus> ListStatus()
    {
        return db.tblStatus.ToList();
    }

    internal tblStatus GetStatus(string statusname)
    {
        return db.tblStatus.SingleOrDefault(c => c.StatusName == statusname);
    }
}